<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
		<link rel="stylesheet" href="<?php echo base_url('css2/public_backend.css');?>" />
	<title></title>
</head>
<body>
	<form action="<?php echo site_url('/admin/add_check/add_article');?>" method="post">
		<table class="add_table">
			<tr >
				<td class="th" colspan="2">添加博文</td>
			</tr>
			<tr>
				<td>博客标题</td>
				<td>
					<input type="text" name="news_title" class="title"/>
				</td>
			</tr>
			<tr>
				<td>栏目</td>
				<td>
					<select name='news_parent_id'>
						<option value="1">====选择栏目====</option>
						<?php foreach($cat_list as $v){?>
						<option value="<?php echo $v->w3a_type;?>"><?php echo $v->w3a_type;?></option>
						<?php } ?>
					</select>
				</td>

			</tr>
			<tr>
				<td>内容</td>
				<td>
					<textarea id="editor_id" name="news_content" class="textarea"></textarea>
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<input type="submit" value="发表" class="input_button"/>
					<input type="reset" class="input_button"/>
				</td>
			</tr>
		</table>
	</form>
</body>
</html>